<div class="content-wrapper">
    <section class="content-header">
        <h1>发票详情</h1>
        <ol class="breadcrumb">
            <li><a href="/admin"><i class="fa fa-dashboard"></i> 首页</a></li>
            <li class="active">发票审核</li>
            <li class="active"><a href="/admin/approval/orderBillList">发票列表</a></li>
            <li class="active">发票详情</li>
        </ol>
    </section>
    <section class="content">
        <div class="box">
            <div class="box-header with-border">
            </div>
            <div class="box-body">
                <fieldset disabled readonly="readonly">
                <form class="form-horizontal" role="form" action="javascrip:;" method="post">
                    <div class="row">
                        <div class="col-md-12">
                            <div class="col-md-6">
                                <input type="hidden" name="bill_id" id="bill_id" value="{$billInfo.id}" />
                                <input type="hidden" name="order_id" id="order_id" value="{$bill.order_id}" />
                                <div class="form-group">
                                    <label for="admin_name" class="col-sm-3 control-label"> 业务员 </label>
                                    <div class="col-sm-8">
                                        <input type="text" class="form-control" placeholder="业务员" id="admin_name" name="admin_name" value="{$billInfo.admin_name}">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="order_rate" class="col-sm-3 control-label"> 订单占比 </label>
                                    <div class="col-sm-8">
                                        <input type="text" class="form-control" placeholder="订单占比" id="order_rate" name="order_rate" value="{$billInfo.order_rate}">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="item_type" class="col-sm-3 control-label"> 产品类型 </label>
                                    <div class="col-sm-8">
                                        <input type="text" class="form-control" placeholder="贴吧运营or文字直播" id="item_type" name="item_type" value="{$billInfo.item_type}">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="item_name" class="col-sm-3 control-label"> 客户产品 </label>
                                    <div class="col-sm-8">
                                        <input type="text" class="form-control" placeholder="产品名称" id="item_name" name="item_name" value="{$billInfo.item_name}">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="protocol_number" class="col-sm-3 control-label"> 协议号 </label>
                                    <div class="col-sm-8">
                                        <input type="text" class="form-control" placeholder="协议号" id="protocol_number" name="protocol_number" value="{$billInfo.protocol_number}">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="is_filing" class="col-sm-3 control-label"> 合同归档 </label>
                                    <div class="col-sm-8">
                                        <select class="form-control" id="is_filing" name="is_filing">
                                            <option value="0" <if condition="$billInfo.is_filing eq 0 ">selected</if>>未归档</option>
                                            <option value="1" <if condition="$billInfo.is_filing eq 1 ">selected</if>>已归档</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="company_title" class="col-sm-3 control-label">开票公司抬头 </label>
                                    <div class="col-sm-8">
                                        <input type="text" class="form-control" placeholder="开票公司抬头" id="company_title" name="company_title" value="{$billInfo.company_title}">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="arrival_time" class="col-sm-3 control-label">预计到账时间 </label>
                                    <div class="col-sm-8 date">
                                        <input type="text" class="form-control" placeholder="2017-12-25" id="arrival_time" name="arrival_time" value="{$billInfo.arrival_time|date='Y-m-d',###}">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="type" class="col-sm-3 control-label">发票类型 </label>
                                    <div class="col-sm-8">
                                        <select class="form-control" id="type" name="type">
                                            <option value="0">请选择</option>
                                            <foreach name="bill_typeList" item="b_val" key="b_key">
                                                <option value="{$b_key}" <if condition="$billInfo.type eq $b_key">selected</if>>{$b_val}</option>
                                            </foreach>
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="amount" class="col-sm-3 control-label">开票金额 </label>
                                    <div class="col-sm-8">
                                        <input type="text" class="form-control" placeholder="0.00" id="amount" name="amount" value="{$billInfo.amount}">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="description" class="col-sm-3 control-label">开票内容 </label>
                                    <div class="col-sm-8">
                                        <textarea type="text" class="form-control" placeholder="开票内容" id="description" name="description" rows="5">{$billInfo.description}</textarea>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="bill_title" class="col-sm-3 control-label">发票抬头 </label>
                                    <div class="col-sm-8">
                                        <input type="text" class="form-control" placeholder="发票抬头" id="bill_title" name="bill_title" value="{$billInfo.bill_title}">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="send_type" class="col-sm-3 control-label">寄送方式 </label>
                                    <div class="col-sm-8">
                                        <select class="form-control" id="send_type" name="send_type">
                                            <option value="0">请选择</option>
                                            <option value="1" <if condition="$billInfo.send_type eq 1 ">selected</if>>自取</option>
                                            <option value="2" <if condition="$billInfo.send_type eq 2 ">selected</if>>邮寄</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="send_address" class="col-sm-3 control-label">寄送地址 </label>
                                    <div class="col-sm-8">
                                        <input type="text" class="form-control" placeholder="寄送地址" id="send_address" name="send_address" value="{$billInfo.send_address}">
                                    </div>
                                </div>
                            </div>
                            <div class="col-md-6">
                                <div class="form-group">
                                    <label for="taxpayer_id_number" class="col-sm-3 control-label">纳税人识别号 </label>
                                    <div class="col-sm-8">
                                        <input type="text" class="form-control" placeholder="纳税人识别号" id="taxpayer_id_number" name="taxpayer_id_number" value="{$billInfo.taxpayer_id_number}">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="address" class="col-sm-3 control-label">地址 </label>
                                    <div class="col-sm-8">
                                        <input type="text" class="form-control" placeholder="地址" id="address" name="address" value="{$billInfo.address}">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="bank" class="col-sm-3 control-label">开户行 </label>
                                    <div class="col-sm-8">
                                        <input type="text" class="form-control" placeholder="开户行" id="bank" name="bank" value="{$billInfo.bank}">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="bank_account" class="col-sm-3 control-label">银行账号 </label>
                                    <div class="col-sm-8">
                                        <input type="text" class="form-control" placeholder="银行账号" id="bank_account" name="bank_account" value="{$billInfo.bank_account}">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="mobile" class="col-sm-3 control-label">联系电话 </label>
                                    <div class="col-sm-8">
                                        <input type="text" class="form-control" placeholder="联系电话" id="mobile" name="mobile" value="{$billInfo.mobile}">
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </form>
                </fieldset>
            </div>
        </div>
    </section>
</div>